package com.demo.classloader;

import java.sql.Connection;
import java.sql.DriverManager;

/**
 * @author libo
 * @version 1.0
 * @date 2018/6/4 16:12
 */
public class Test {

    public static void main(String[] args) throws Exception {
//        Class.forName("com.mysql.jdbc.Driver");
        Connection connection = DriverManager.getConnection("jdbc:mysql://localhost:3306","root","root");
        System.out.println(Test.class.getClassLoader());
        System.out.println(Integer.class.getClassLoader());
    }
}
